package com.fjec.paid.service;

import com.fjec.paid.entity.BizDistribution;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 012.分账表 服务类
 * </p>
 *
 * @author admin
 * @since 2020-11-09
 */
public interface IBizDistributionService extends IService<BizDistribution> {

    void doDivide(BizDistribution d);

    int savePhyDivideBatch(List<Map<String, Object>> ordersToDivide);

    int saveServDivideBatch(List<Map<String, Object>> ordersToDivide);

    List<BizDistribution> getDividing(int limit);

    void doQuery(BizDistribution dist);

    int ysDeliver(Long paymentId);

    int ysSign(Long paymentId);
}
